<!DOCTYPE html>
<html lang=“en”>
<head>
  <meta charset=“UTF-8”>
  <title>首页</title>
</head>
<body>
通过登录验证后跳转到此页面
<hr/>
<div>
  <a href="/user/users">获得所有用户</a>
</div>
<div>
  <form method="post" th:action="@{/user/addUser}">
    <div>
      <br>
      用户姓名：<input id="username" name="username" value="">
    </div>
    <div>
      用户密码：<input id="password" name="password" value="">
    </div>
    <div>
      教师id： &nbsp;&nbsp;&nbsp;<input id="teacher_id" name="teacher_id" value="">
    </div>
    <div>
      role_id： &nbsp;&nbsp;<input id="role_id" name="role_id" value="">
    </div>
    <div>
      <br>
      <input type="submit" id="btnSave"  value="用户添加">
    </div>
  </form>
</div>
<hr/>
<div>
  <form method="get" th:action="@{/logout}">
    <input type="submit" id="logout"  value="退出登录">
  </form>
</div>
</body>
</html>
